package com.yw.swagger.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * @author HDY
 * @date 2019/10/21 15:15
 */
@ApiModel("邮件实体类")
public class WebMail {
    @ApiModelProperty(value = "邮件id", hidden = true)
    private int ID;
    @ApiModelProperty(value = "uuid", hidden = true)
    private String guid;
    @ApiModelProperty(value = "发送人")
    private String sendUser;
    @ApiModelProperty(value = "发送人账号",example = "管理员")
    private String sendUserAccount;
    @ApiModelProperty(value = "接收人姓名")
    private String toAllSend;
    @ApiModelProperty(value = "接收人登录账号")
    private String toSend;
    @ApiModelProperty(value = "接收人姓名")
    private String toSendName;
    @ApiModelProperty(value = "接收人账号")
    private String toSendAccount;
    @ApiModelProperty(value = "标题")
    private String title;
    @ApiModelProperty(value = "内容", example = "<p>测试发邮件</p>")
    private String commentContent;
    @ApiModelProperty(value = "发送时间", hidden = true)
    private Date sendTime;
    @ApiModelProperty( hidden = true)
    private String mailflg;
    @ApiModelProperty( hidden = true)
    private String flgRead;
    @ApiModelProperty( hidden = true)
    private String folderFlg;
    @ApiModelProperty(hidden = true)
    private String yfsflg;
    @ApiModelProperty(value = "Null发个单位个人1是发件箱",hidden = true)
    private String firstSend;
    @ApiModelProperty(hidden = true)
    private String parentId;

    @Override
    public String toString() {
        return "WebMail{" +
                "ID=" + ID +
                ", Guid='" + guid + '\'' +
                ", sendUser='" + sendUser + '\'' +
                ", sendUserAccount='" + sendUserAccount + '\'' +
                ", toAllSend='" + toAllSend + '\'' +
                ", toSend='" + toSend + '\'' +
                ", toSendName='" + toSendName + '\'' +
                ", toSendAccount='" + toSendAccount + '\'' +
                ", title='" + title + '\'' +
                ", commentContent='" + commentContent + '\'' +
                ", sendTime=" + sendTime +
                ", mailflg='" + mailflg + '\'' +
                ", flgRead='" + flgRead + '\'' +
                ", folderFlg='" + folderFlg + '\'' +
                ", yfsflg='" + yfsflg + '\'' +
                ", firstSend='" + firstSend + '\'' +
                ", parentId='" + parentId + '\'' +
                '}';
    }

    public int getID() {
        return ID;
    }

    public void setID(int ID) {
        this.ID = ID;
    }

    public String getGuid() {
        return guid;
    }

    public void setGuid(String guid) {
        this. guid = guid;
    }

    public String getSendUser() {
        return sendUser;
    }

    public void setSendUser(String sendUser) {
        this.sendUser = sendUser;
    }

    public String getSendUserAccount() {
        return sendUserAccount;
    }

    public void setSendUserAccount(String sendUserAccount) {
        this.sendUserAccount = sendUserAccount;
    }

    public String getToAllSend() {
        return toAllSend;
    }

    public void setToAllSend(String toAllSend) {
        this.toAllSend = toAllSend;
    }

    public String getToSend() {
        return toSend;
    }

    public void setToSend(String toSend) {
        this.toSend = toSend;
    }

    public String getToSendName() {
        return toSendName;
    }

    public void setToSendName(String toSendName) {
        this.toSendName = toSendName;
    }

    public String getToSendAccount() {
        return toSendAccount;
    }

    public void setToSendAccount(String toSendAccount) {
        this.toSendAccount = toSendAccount;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getCommentContent() {
        return commentContent;
    }

    public void setCommentContent(String commentContent) {
        this.commentContent = commentContent;
    }

    public Date getSendTime() {
        return sendTime;
    }

    public void setSendTime(Date sendTime) {
        this.sendTime = sendTime;
    }

    public String getMailflg() {
        return mailflg;
    }

    public void setMailflg(String mailflg) {
        this.mailflg = mailflg;
    }

    public String getFlgRead() {
        return flgRead;
    }

    public void setFlgRead(String flgRead) {
        this.flgRead = flgRead;
    }

    public String getFolderFlg() {
        return folderFlg;
    }

    public void setFolderFlg(String folderFlg) {
        this.folderFlg = folderFlg;
    }

    public String getYfsflg() {
        return yfsflg;
    }

    public void setYfsflg(String yfsflg) {
        this.yfsflg = yfsflg;
    }

    public String getFirstSend() {
        return firstSend;
    }

    public void setFirstSend(String firstSend) {
        this.firstSend = firstSend;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }
}
